package com.free.freemarker.constant;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class Constant {
    // annotation
    public static String ANNOTATION = "annotation";
    public static String ANNOTATION_AUTHOR_NAME;
    public static String ANNOTATION_AUTHOR_MAIL;
    public static String ANNOTATION_VERSION;

    public static String SUFFIX = ".java";

    public static String basePath;

    public static String ftlPath;

    public static JSONArray VIEW_FTL;

    public static JSONArray JAVA_FTL;

    public static JSONObject Mybatis_FTL;

    public static String filePath;

    public static String path = "path";


    //表前缀
    public static String TABLE_PREFIX;
    //表信息
    public static final String COL_LIST_VAR = "colList";
    //索引的信息
    public static final String IDX_LIST_VAR = "idxList";
    //类名
    public static String CLASS_NAME_VAR = "className";

    public static String TABLE_NAME = "tbName";

    public static String CLASS_NAME_LOWER_VAR = "classNameLower";
    public static String DESCRIPTION_VAR = "description";


    // c s sl d dl m
    public static String M_PACKAGE_NAME_VAR = "m_packageName";
    public static String M_CLASS_PATH_VAR = "m_classPath";

    /**
     * 控制层
      */
    public static String C_PACKAGE_NAME_VAR = "c_packageName";
    public static String C_CLASS_NAME_SUFFIX_VAR = "c_classSuffix";
    public static String C_CLASS_NAME_VAR = "c_n";

    /**
     * service
     */
    public static String S_PACKAGE_NAME_VAR = "s_packageName";
    public static String S_CLASS_NAME_SUFFIX_VAR = "s_cs";
    public static String S_CLASS_NAME_PREFIX_VAR = "s_cp";
    public static String S_CLASS_NAME_VAR = "s_n";
    public static String S_CLASS_NAME_LVAR = "s_nl";

    /**
     * serviceImpl
     */
    public static String SL_PACKAGE_NAME_VAR = "sl_packageName";
    public static String SL_CLASS_NAME_SUFFIX_VAR = "sl_cs";
    public static String SL_CLASS_NAME_VAR = "sl_n";

    /**
     * Dao
     */
    public static String D_PACKAGE_NAME_VAR = "d_packageName";
    public static String D_CLASS_NAME_SUFFIX_VAR = "d_cs";
    public static String D_CLASS_NAME_VAR = "d_n";
    public static String D_CLASS_NAME_LVAR = "d_nl";

    /**
     * DaoImpl
     */
    public static String DL_PACKAGE_NAME_VAR = "dl_packageName";
    public static String DL_CLASS_NAME_SUFFIX_VAR = "dl_cs";
    public static String DL_CLASS_NAME_VAR = "dl_n";

}
